package com.rykj.qxj.test.xtest;

import java.util.ArrayList;
import java.util.List;

public class ReplaceStr {

	public static void main(String[] args) {
		
		String str="/data-api/configures/SelectSystemConfiguration";
		
		String replaceFirst = str.replaceFirst("\\/", "");
		
		String replace = replaceFirst.replace("/", ":");
		System.out.println(replaceFirst);
		System.out.println(replace);
		
		List<Student> studentList=null;
		
	/*	Student st1=new Student();
		st1.setId(1);
		st1.setName("张三");
		st1.setAge(21);
		studentList.add(st1);
		
		Student st2=new Student();
		st2.setId(2);
		st2.setName("张二");
		st2.setAge(22);
		studentList.add(st2);*/
		
		for (Student student : studentList) {
			
			System.out.println(student.getName());
			
		}
		

	}

}
